<template>
  <div>
    <h3>market making</h3>
    <button class="btn btn-primary" @click="connect()">连接</button>
    <button class="btn btn-secondary">Secondary</button>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import { WebSocket, WebSocketServer } from "ws";

class ServiceStatusBo {
  name: string | undefined;
  statusName: string | undefined;
}

export default defineComponent({
  // properties
  name: "ServiceStatus",
  services: [ServiceStatusBo],

  setup() {
    function connect() {
      console.log("ss")
    }

    return {
      connect,
    };
  },

  // methods
});
</script>

<style scoped></style>
